package com.spzx.product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.spzx.product.api.domain.ProductSku;
import com.spzx.product.api.domain.query.ProductSkuQuery;
import com.spzx.product.api.domain.vo.ProductSkuVO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface ProductSkuService extends IService<ProductSku> {
    List<ProductSku> selectIndexSkus();

    Page<ProductSku> selectListSkus(ProductSkuQuery query);

    ProductSkuVO selectSkuDetails(Long skuId);

    Map<Long, BigDecimal> getSkusPrice(List<Long> skuIds);
}
